package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

/**
 * @Author liub
 * @Date 2019/12/6 9:44
 * @Version 1.0
 */

public class BatchRepairFlow extends BasePojo {
    /**
     * 批次流程维修工序ID
     */
    private Integer batchRepairFlowId;
    /**
     * 批次流程维修工序段ID
     */
    private Integer batchRepairId;
    /**
     * 批次流程维修流程ID
     */
    private Integer batchFlowId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    /**
     * 说明
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;

    /*                                              新增字段                                        */

    /**
     * 排序
     */
    private Integer serialNum;
    /**
     * 工序ID
     */
    private Integer proId;
    /**
     * 工序名称
     */
    private String proName;
    /**
     * 是否并序
     */
    private Integer sequence;
    /**
     * 上工序
     */
    private String risePro;
    /**
     * 下工序
     */
    private String nextPro;
    /**
     * 工序类型ID
     */
    private Integer proTypeId;
    /**
     * 工序类型名称
     */
    private String proTypeName;


    public Integer getBatchRepairFlowId() {
        return batchRepairFlowId;
    }

    public void setBatchRepairFlowId(Integer batchRepairFlowId) {
        this.batchRepairFlowId = batchRepairFlowId;
    }

    public Integer getBatchRepairId() {
        return batchRepairId;
    }

    public void setBatchRepairId(Integer batchRepairId) {
        this.batchRepairId = batchRepairId;
    }

    public Integer getBatchFlowId() {
        return batchFlowId;
    }

    public void setBatchFlowId(Integer batchFlowId) {
        this.batchFlowId = batchFlowId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public String getRisePro() {
        return risePro;
    }

    public void setRisePro(String risePro) {
        this.risePro = risePro;
    }

    public String getNextPro() {
        return nextPro;
    }

    public void setNextPro(String nextPro) {
        this.nextPro = nextPro;
    }

    public Integer getProTypeId() {
        return proTypeId;
    }

    public void setProTypeId(Integer proTypeId) {
        this.proTypeId = proTypeId;
    }

    public String getProTypeName() {
        return proTypeName;
    }

    public void setProTypeName(String proTypeName) {
        this.proTypeName = proTypeName;
    }

    public Integer getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(Integer serialNum) {
        this.serialNum = serialNum;
    }
}